package com.zkingsoft.zkingbase.activities;

import android.content.Intent;
import android.os.SystemClock;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.zkingsoft.zkingbase.R;
import com.zkingsoft.zkingbase.base.BaseActivity;

public class SplashActivity extends BaseActivity
{

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);

        new Thread(){
            @Override
            public void run()
            {
                SystemClock.sleep(3000);
                startActivity(new Intent(SplashActivity.this, MainActivity.class));
                finish();
            }
        }.start();
    }

    @Override
    public int getContentView()
    {
        return R.layout.activity_splash;
    }
}
